home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #3 / amigamamagazinepolishissue1998.iso / maksiu / lists / amoslist-0996.lzh / AMOSLIST / 000102_amos-request@svcs1.digex.net_Sun Sep 29 00:57:16 1996.msg < prev    next >
Internet Message Format  |  1996-10-01  |  4KB

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224]) by mail3.access.digex.net (8.7.6/8.7.3) with ESMTP id AAA15271 for <mcox@access.digex.net>; Sun, 29 Sep 1996 00:57:15 -0400 (EDT)
  2. Received: (from daemon@localhost) by svcs1.digex.net (8.7.6/8.7.3) id XAA23111 for amos-out; Sat, 28 Sep 1996 23:59:18 -0400 (EDT)
  3. Received: from mail1.access.digex.net (mail1.access.digex.net [205.197.247.2]) by svcs1.digex.net (8.7.6/8.7.3) with ESMTP id XAA23108 for <amos-list@svcs1.digex.net>; Sat, 28 Sep 1996 23:59:17 -0400 (EDT)
  4. Received: from phoenix.earthlight.co.nz (mcrowl@phoenix.earthlight.co.nz [202.36.170.4]) by mail1.access.digex.net (8.7.6/8.7.3) with ESMTP id XAA18196 for <amos-list@access.digex.net>; Sat, 28 Sep 1996 23:59:13 -0400 (EDT)
  5. Received: (from mcrowl@localhost) by phoenix.earthlight.co.nz (8.7.6/8.7.3) id PAA19224; Sun, 29 Sep 1996 15:58:35 +1200
  6. Date: Sun, 29 Sep 1996 15:58:35 +1200 (NZST)
  7. From: Mike & Ben Crowl <mcrowl@phoenix.earthlight.co.nz>
  8. To: Mark Carter <Mark@westmead.demon.co.uk>
  9. cc: amos-list@access.digex.net
  10. Subject: Re: Scrolling problems...
  11. In-Reply-To: <843923842.13995.0@westmead.demon.co.uk>
  12. Message-ID: <Pine.LNX.3.91.960929155715.19125A-100000@phoenix.earthlight.co.nz>
  13. MIME-Version: 1.0
  14. Content-Type: TEXT/PLAIN; charset=US-ASCII
  15. Status: O
  16. X-Status: 
  17.  
  18.  
  19.  
  20. On Sat, 28 Sep 1996, Mark Carter wrote:
  21.  
  22. > Hi,
  23. > Does anyone know the best way to do hardware scrolling...?
  24. > Now I'll explain my situation - because I guess its pretty important!
  25. > (I'm using autoback 0 and bob update off)
  26. > I've got a lowres 640x480 screen which I scroll in a 320x190 display, 
  27. > about 15 bobs including a ball, which the scrolling follows. All of 
  28. > this (including scrolling) was controlled by AMal proggies.
  29. > To begin with I was running the game at 25Hz using the following 
  30. > method:
  31. > do
  32. >    [program code taking between 0.5 and 1.5 vbls]
  33. >    Synchro:wait vbl:bob update
  34. >    rem next line makes sure that we only wait a vbl if we need to
  35. >    If less-than-2-vbls since last last loop then wait vbl
  36. >    rem I've tried removing the line above and it doesnt make the 
  37. >           display any smoother
  38. > loop
  39. > This however, is very jerky.  So I then decided to make the ball move 
  40. > at 50Hz by taking it out of the Amal bank and putting the new Amos 
  41. > code just BEFORE each Vbl.
  42. > This was even worse!  However, when I ran the program by freezing the 
  43. > scrolling amal program, all was ok.  I think the problem is that 
  44. > while EVERYTHING visible is updated in one smooth burst during the 
  45. > Bob Update command, the scrolling is done during the Synchro command. 
  46. > So, in effect, there are 2 changes to-the-eye every Vbl.
  47. > Please Help!
  48. My suggestion (which you probably will not like..) is to forget using 
  49. Amal and control the balls etc. using Bob draw, bob clear etc.. this 
  50. should make things a lot smoother..
  51.  
  52. l8r
  53. Benj
  54.              .   .   .  .  .   .    .    .   .    .   .   .
  55.  
  56.             .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
  57.             .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
  58.            ,:.;,,:.;,,:.;,,:.;,,:.;,,:.;,,:.;,,:.;,,:.;,,:.;,.
  59.           <------/                                     \------>
  60.           (<<<<<<= Ben Crowl - mcrowl@earthlight.co.nz =>>>>>>)
  61.           <------\                                     /------>
  62.            `~'~`~'~`~'~`~'~`~'~`~'~'~`~'~`~'~`~'~`~'~`~'~`~'~`
  63.             : ; : : : ; : ; : : : ; : : : : ; : : : ; : : ; :
  64.            .    .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
  65.                 .     .   .    .      .    .     .      .
  66.              .     .     .   .   .  .    .  .  .  .  .  .  .
  67.